/* 清楚默认的一些样式 */
* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: #000;
  font-weight: normal;
}
body {
  /* 设置渐变色 */
  background: linear-gradient(
    35deg,
    rgb(197, 104, 185),
    rgb(219, 90, 90),
    rgb(93, 102, 223)
  );
  /* 自定义指针样式 */
  cursor: url("/img/指针6.png"), pointer !important;
}
/* 头部样式 */
header {
  width: 1000px;
  height: 100px;
  background: linear-gradient(30deg, #7917bb, #14a2ac, rgb(12, 48, 211));
  margin: 20px auto;
  border-radius: 10px 10px 10px 10px;
}

section {
  width: 1000px;
  height: 600px;
  /* background: yellowgreen; */
  margin: 20px auto;
}
/* 底部样式 */
footer {
  width: 1000px;
  height: 100px;
  background-color: blueviolet;
  margin: 20px auto;
}
/* logo样式 */
header .logo {
  width: 100px;
  height: 50px;

  float: left;
  position: relative;
  left: 10px;
  border-radius: 50%;
}
/* 给图片设置宽高和圆角 */
.logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  /* 图片logo设置动画，infinite设置无限次数，linear设置匀速 */
  animation: circle 10s infinite linear;
}
.logo img:hover {
  -webkit-animation: circle 0s infinite linear;
}

header .header-right {
  width: 500px;
  height: 100px;
  float: right;
}

header .header-right li {
  float: left;

  margin: 37px 30px;
  font-size: 30px;
  list-style: none;
}
/* 设置鼠标滑过li的动画 */
li {
  position: relative;
  z-index: 1;
}

li::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -0.25em;
  right: -0.25em;
  background-color: hsla(290, 77%, 58%, 0.75);
  transform-origin: center right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

li:hover::before {
  transform: scaleX(1);
  transform-origin: center left;
}

/* end */
/* 设置导航栏 */
.nav {
  /* 固定在顶部 */
  position: fixed;
  margin-top: 2px;
  text-align: center;
  /* 提高层级 */
  z-index: 1;
  width: 80px;
  height: 600px;
  /* 设置圆角边框 */
  border-radius: 5px;
  left: 17%;
  background: rgb(196, 224, 230);
}
.nav li {
  line-height: 20px;
  /* 去除列表样式 */
  list-style: none;
  /* 调整li之间的间距 */
  margin-top: 20px;
}

#blank-q {
  background: #0399f0;
  width: 80px;
  height: 20px;
  display: block;
  border-radius: 5%;
}
.content .left {
  width: 300px;
  height: 600px;
  background: url("https://img2.baidu.com/it/u=1045508110,1891958078&fm=253&fmt=auto&app=120&f=JPEG?w=800&h=1422")
    no-repeat;
  float: left;
  border-radius: 10px;
  background-size: cover;
  position: relative;
}
.left h1 {
  text-align: center;
  color: #e65117;
  font-size: 45px;
  position: relative;
  top: 20px;
}

.content .right {
  width: 640px;
  height: 480px;
  float: right;
  margin-top: 0;
  border-radius: 5%;
  background: url("https://img2.baidu.com/it/u=979127190,827596948&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800")
    no-repeat;
  background-size: cover;
}

.content .right:hover {
  background: url("https://img0.baidu.com/it/u=1849589804,2371237942&fm=253&fmt=auto&app=120&f=JPEG?w=1422&h=800")
    center/cover;
  transition: 2s;
  transform: rotateY(180deg);
}
/* 设置四个盒子的属性，可以把相同的属性用逗号写到一起，再用高级选择器设置背景，会简单的多 */
.content .box1 {
  width: 140px;
  height: 100px;
  margin-right: 20px;
  margin-top: 20px;
  background: url("https://img0.baidu.com/it/u=1849589804,2371237942&fm=253&fmt=auto&app=120&f=JPEG?w=1422&h=800")
    no-repeat;
  background-size: cover;

  float: right;
  border-radius: 20px;
}
.content .box2 {
  width: 140px;
  height: 100px;
  margin-right: 20px;
  margin-top: 20px;
  background: url("https://img2.baidu.com/it/u=3435829688,968270006&fm=253&fmt=auto&app=120&f=JPEG?w=1422&h=800")
    no-repeat;
  background-size: cover;

  float: right;
  border-radius: 20px;
}
.content .box3 {
  width: 140px;
  height: 100px;
  margin-right: 20px;
  margin-top: 20px;
  background: url("https://img2.baidu.com/it/u=512141497,3223278287&fm=253&fmt=auto&app=120&f=PNG?w=1422&h=800")
    no-repeat;
  background-size: cover;

  float: right;
  border-radius: 20px;
}
.content .box4 {
  width: 140px;
  height: 100px;
  margin-right: 20px;
  margin-top: 20px;
  background: url("https://img1.baidu.com/it/u=2488388262,614369596&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500")
    no-repeat;
  background-size: cover;

  float: right;
  border-radius: 20px;
}
/* end */

/* 给box设置动画过度 */
   span > div:hover {
  transform: scale(1.2);
  box-shadow: -3px 3px 3px rgb(51, 48, 236);
  transition: 0.4s;
}

footer {
  border-radius: 10px;
  background: linear-gradient(445deg, #c74525, #175df5e5);
}
footer .wenzi {
  text-align: center;
  float: left;
  margin: 10px;
  color: #ff6666;
  font-family: "宋体";
  font-size: 74px;
  font-weight: bold;
}

.bizhi {
  width: 1000px;
  height: 622px;
  /* background: url("")no-repeat; */
  margin: 20px auto;
  border-radius: 10%;
}
.bizhi img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
@-webkit-keyframes circle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

/* 设置回到顶部按钮样式 */
button {
  width: 100px;
  height: 70px;
  margin-left: 24%;
  margin-bottom: 20px;
  background: linear-gradient(35deg, #ca5613, #d60d0d, #bd15a6);
  border-radius: 10%;
  border: 1px solid;
}
#bq {
  position: absolute;
  left: 40%;
}
